package org.jeecg.modules.xl.order.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: xl_customer_order_detail
 * @Author: jeecg-boot
 * @Date:   2024-10-20
 * @Version: V1.0
 */
@ApiModel(value="xl_customer_order_detail对象", description="xl_customer_order_detail")
@Data
@TableName("xl_customer_order_detail")
public class XlCustomerOrderDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**唯一标识*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "唯一标识")
    private String id;
	/**订单id*/
    @ApiModelProperty(value = "订单id")
    private String orderId;
	/**订单编码*/
	@Excel(name = "订单编码", width = 15)
    @ApiModelProperty(value = "订单编码")
    private String orderCode;
    /**快麦单号*/
    //@Excel(name = "快麦单号", width = 15)
    //@ApiModelProperty(value = "快麦单号")
    private String kmSid;

    /**商品ID*/
	@Excel(name = "商品ID", width = 15)
    @ApiModelProperty(value = "商品ID")
    private String productId;

    /**渠道类型编码*/
    private String customerTypeCode;

    /**商品upcCode*/
    @Excel(name = "upcCode", width = 15)
    @ApiModelProperty(value = "upcCode")
    private String upcCode;

	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    @TableField(exist = false)
    private String productName;


    //商品主图
    @TableField(exist = false)
    private String mainPic;
	/**产品价格*/
	@Excel(name = "产品价格", width = 15)
    @ApiModelProperty(value = "产品价格")
    private java.math.BigDecimal productPrice;
	/**订单数量*/
	@Excel(name = "订单数量", width = 15)
    @ApiModelProperty(value = "订单数量")
    private java.math.BigDecimal orderQuantity;
	/**订单金额*/
	@Excel(name = "订单金额", width = 15)
    @ApiModelProperty(value = "订单金额")
    private java.math.BigDecimal orderAmount;


    //**发货状态(0:未发货，1:已发货)*//*
    @Excel(name = "发货状态(0:未发货，1:已发货)", width = 15)
    @Dict(dicCode = "shipment_state")
    @ApiModelProperty(value = "发货状态(0:未发货，1:已发货)")
    private String shipmentState;

	/**租户号*/
	@Excel(name = "租户号", width = 15)
    @ApiModelProperty(value = "租户号")
    private String tenantId;
	/**是否删除标志*/
	@Excel(name = "是否删除标志", width = 15)
    @ApiModelProperty(value = "是否删除标志")
    private Integer isDeleted;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
